package com.iSnail.ms.gather.ui.tree;

import javax.swing.tree.DefaultMutableTreeNode;

import com.iSnail.ms.util.Const;
import com.iSnail.ms.util.I18N;

public class GatherTreeNode extends DefaultMutableTreeNode {
	DefaultMutableTreeNode linearcontraction = new LinearContractionTreeNode(I18N.getString(Const.LINEARCONTRACTION));
	DefaultMutableTreeNode thermalcrack = new ThermalCrackTreeNode(I18N.getString(Const.THERMALCRACK));
	DefaultMutableTreeNode dynamicinternalstress = new DynamicInternalStressTreeNode(I18N.getString(Const.DYNAMICINTERNALSTRESS));
	
	public GatherTreeNode(String nodename){
		super(nodename);		
		add(linearcontraction);
		add(thermalcrack);
		add(dynamicinternalstress);
	}
}